import Layout from '@/layout/index.vue';
import * as i18n from '@/utils';
let manage = {
	path: '/manage',
	component: Layout,
	name: '功能管理',
	meta: {
		title: i18n.t('router.manage'),
		icon: 'dashboard',
	  	isPermiss:'/management/config'
	},
	children: [
		{
			path: '/manage/language',
			component: () => import('@/views/manage/language/index.vue'),
			name: '语言管理',
			meta: { title: i18n.t('router.Lang') },
	  		isPermiss:'/management/config.config_lang/getList'
		},
		{
			path: '/manage/performance',
			component: () => import('@/views/manage/performance/index.vue'),
			name: '性能管理',
			meta: { title: i18n.t('router.Performance') },
	  		isPermiss:'/management/config.config_performance/getList'
		},
		{
			path: '/manage/size',
			component: () => import('@/views/manage/size/index.vue'),
			name: '尺寸管理',
			meta: { title: i18n.t('router.Size') },
	  		isPermiss:'/management/config.config_size/getList'
		},
		{
			path: '/manage/scene',
			component: () => import('@/views/manage/scene/index.vue'),
			name: '场景管理',
			meta: { title: i18n.t('router.SceneManage') },
	  		isPermiss:'/management/config.config_scene/getList'
		}
	]
}

export default manage;